<%--
  Created by IntelliJ IDEA.
  User: 92460
  Date: 2020/12/15
  Time: 22:47
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>登录</title>
</head>
<body>
<%
String msg = request.getAttribute("msg").toString();
%>
<form action="doLogin.jsp">
    <p>账号<input type="text" name="username"></p>
    <p>密码<input type="password" name="password"></p>
    <%
    if (null!=msg){
    %>
    <p style="color: red"></p>
    <%
    }
    %>

    <p><input type="submit" value="登录"></p>
</form>
</body>
</html>
